#macro(orderPic $type)
#if ($orderField.equals($type)) 
<img src="/images/system/ico/${orderType}.gif">  
#end
#end
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="/include/css/css.css" rel="stylesheet" type="text/css">
<title>博客音乐列表</title>
<script language="JavaScript" src="/include/js/forbidNew.js" type="text/JavaScript"></script>
<script language="JavaScript" src="/include/js/ajaxSupport.js" type="text/JavaScript"></script>
<script language="JavaScript" src="/include/js/public.js" type="text/JavaScript"></script>
</head>

<body topmargin="0" text=#000000 bgcolor=#ffffff leftmargin="0" marginheight="0" marginwidth="0">
<table width="100%" height="100%"  border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" class="Border">
  <tr>
    <td height="38" align="center" valign="bottom"><table width="96%" height="34"  border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td valign="middle"><table width="53%"  border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="10%" valign="bottom"><img src="#if ($dir.tagImg) $dir.tagImg #else /images/system/winzip.jpg #end" width="32" height="32" /></td>
            <td width="90%" valign="bottom" class="titletxt">博客音乐列表</td>
          </tr>
        </table></td>
        <td width="100">&nbsp;</td>
        <td width="120">&nbsp;</td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td align="center" valign="top"><div style="height:100%;overflow:auto;">
      <form id="ListForm" name="ListForm"  method="post" action="/blogMusic.do">
        <input type="hidden" name="parameter" value="" />
        <input type="hidden" name="cid"   value="$!cid" />
        <input type="hidden" name="mulitCid"   value="$!mulitCid" />
        <input type="hidden" name="page"   value="$!page" />
        <input name="orderField" type="hidden" value="$!orderField" />
        <input name="orderType" type="hidden" value="$!orderType" />
        <!--<input name="dirSn" type="hidden" value="$!parentsn"> -->
        <table width="96%"  border="1" cellpadding="4" cellspacing="0" bordercolor="#30524D" bgcolor="CBD9D9" class="BorderLine" style="border-collapse: collapse" >
          <thead>
            <tr valign="middle">
              <td height="24" colspan="10" align="center" background="/images/system/index_18.gif" class="title1"><table width="100%"  border="0">
                <tr>
                  <td>标题：
                    <input name="queryTitle" type="text" size="15" value="$!queryTitle" /></td>
                  <td>栏目：
                    <select name="parentsn" id="parentsn">
                            <option value="">请选择</option>
                      					 $!TagUtil.options($dirService.queryBlogNewsDir($currentUser.userName,1,15).result,"cid","title",$parentsn)					 
                    
                    </select></td>
                  <td>&nbsp;</td>
                  <td><input type="submit" name="Submit4" value="查询" onClick="doSearch();" /></td>
                </tr>
              </table></td>
            </tr>
            <tr valign="middle">
              <td width="20" height="24" align="center" background="../images/system/index_18.gif" class="title1"  style="cursor: hand;"><input name="checkbox" type="checkbox"  onclick="selectAll(cids,this.checked);" /></td>
              <td width="150" align="center"  style="cursor: hand;" onClick="doSort('title')" class="title1">歌名#orderPic("title")</td>
              
              <td width="80" align="center" nowrap="nowrap" style="cursor: hand;" onClick="doSort('author')"  class="title1">作者#orderPic("author")</td>
              
              <td width="50" align="center" nowrap="nowrap" style="cursor: hand;" onClick="doSort('displaytime')" class="title1">发布日期#orderPic("displaytime")</td>
              <td width="50" align="center" nowrap="nowrap" style="cursor: hand;" onClick="doSort('displaytime')" class="title1">操作</td>
            </tr>
          </thead>
          #foreach( $info in $list)
          <tr bgcolor="#F8FCF8"  class="coolselect" style="cursor:default " id='$!info.cid' onDblClick="selectRow(this.id);doEdit();" onClick="selectRow(this.id);" onMouseOver="this.className='MouseOver';" onMouseOut="this.className='MouseOut'">
            <td height="23" title="111"><input type="checkbox" name="cids" value="$!info.cid" /></td>
            <td height="23" title="111"><a href="#" target="_blank">$!info.title</a></td>
            
            <td align="center" nowrap="nowrap">$!info.author</td>
            
            <td align="center" nowrap="nowrap">$!CommUtil.formatDate('yyyy-MM-dd H:m',$!info.displaytime)</td>
            <td align="center" nowrap="nowrap">应用</td>
          </tr>
          #end
        </table>
      </form>
    </div></td>
  </tr>
  <tr>
    <td align="center" height="25"><table width="92%" height="24"  border="0" cellpadding="0" cellspacing="0">
      <tr valign="bottom">
        <td nowrap="nowrap">第<strong>$!page</strong>页 共<strong>$!pages</strong>页<span class="txt1">[共<b>$!rows</b>条记录]</span> 　　分页：$!gotoPageHTML　</td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td height="40" align="left" valign="middle"><table height="30"  border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td width="50" align="left" valign="middle">&nbsp;</td>
        <td width="50" align="center" valign="middle"><input type="submit" name="Submit" value="添加" onClick="doAdd();" />
        </td>
        <td width="50" align="center" valign="middle"><input type="submit" name="Submit2" value="修改" onClick="doEdit();" /></td>
        <td width="50" align="center" valign="middle"><input type="submit" name="Submit323" value="试听" onClick="doShow();" /></td>
        <td width="50" align="center" valign="middle"><input type="submit" name="Submit322" value="删除" onClick="doDel();" /></td>
      </tr>
    </table></td>
  </tr>
</table>
</body>
</html>
